package com.cuif.aop.impl;

import com.cuif.aop.ExceptionService;
import com.cuif.aop.WelcomeService;

public class WelcomeServiceImpl implements WelcomeService, ExceptionService{
	
	private String name;

	@Override
	public void doWelcome() {
		System.out.println("Hi! " + name + ", My name is WelcomeServiceImpl !!");
	}
	
	@Override
	public void waiting() {
		System.out.println("我等的船还不来,我等的人还不明白!");
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public void doThrows() {
		int zore = 0;
		System.out.println(0/zore);
	}

	
	

}
